package cn.zhj.springboot.mapper;

import cn.zhj.springboot.domain.User;

import java.util.List;

public interface UserMapper {
    public List<User> getUsers();
    public User getUserById(Long id);
    public User getUserByUserName(String userName);

    void updateUser(User payer);

    List<String> getUserPermissionList(Object loginId);

    List<String> getUserRoleList(Object loginId);
}
